import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public class Test {
    public static int removeDuplicates(int[] nums) {

        return 0;
    }

    public static void main(String[] args) {
        int[] arr = new int[]{-3,-1,0,0,0,3,3};
        Set<Integer> set=new HashSet<>();
        for (int i = 0; i < arr.length; i++) {
            set.add(arr[i]);
        }

        Object[] a1=set.toArray();
        Arrays.sort(a1);
        for (int i = 0; i <a1.length ; i++) {
            arr[i]=(Integer)a1[i];
        }
        System.out.println("da");

    }

}
